package com.joinlabs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 	SpringBoot启动器,用于启动 内嵌的 tomcat服务器
 * 
 * 
 * @author GL
 *
 */
@SpringBootApplication	//springboot启动器
@MapperScan("com.joinlabs.mapper")	//启动springboot的时候,去扫描指定的mapper包,生成动态代理对象
public class App {

	public static void main(String[] args) {
		
		SpringApplication.run(App.class, args);
		
	}
}
